package com.project.myproject;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class SysUserInfo implements Serializable {
    private static final long serialVersionUID = 7595559393045998411L;

    private Long id;
    private String loginName;
    private String email;
    private String phone;
    private String mobile;
    private String password;
    private String photo;
    private Integer userType;
    private String loginIp;
    private Date loginDate;
    private Integer loginFlag;
    private Long createBy;
    private Date createDate;
    private Long updateBy;
    private Date updateDate;
    private String remarks;
    private Long sysOrgId;
    private Integer status;

    //用户所属的企业ID
    private Long saasUserId;

    //用户昵称
    private String userName;

    //用户昵称
    private String nickName;

    //头像url
    private String headPortraitUrl;

    ////////////////////新增字段////////////////////////

    /**
     * 企业表那边去调用
     */
    private String appKey;
    private String appSecret;
    private String newPassword;

    /**
     * 角色ID
     */
    private List<Long> roleIds;

    /**
     * 创建开始时间
     */
    private Date createBeginDate;

    /**
     * 创建结束时间
     */
    private Date createEndDate;

    /**
     * 用户IDs
     */
    private List<Long> userIds;

    /**
     * 如果在本地库中没有该用户信息，是否需要初始化一个Saas账户
     */
    private Boolean isCreate;

    /**
     * 权限ID
     */
    private String permissionIdList;

    /**
     * 萤石云对应的UserId
     */
    private String YsUserId;

    private Integer certStatus;//当前认证状态(0:未认证；1：认证通过)

    /**
     * 直播账号类型(0:没开启直播;1：试用版;2:专业版套餐;3：企业版套餐)
     */
    private Integer liveMealType;

    /**
     * 企业ID
     */
    private Long companyId;

    /**
     * 唯一ID
     */
    private String unionId;

    /**
     * 1:用户token；2：企业token
     */
    private Integer tokenType;

    /**
     * 应用ID
     */
    private String clientId;

    /**
     * 人脸personId
     */
    private Long personId;

    ///////////////////////////////////////////////////////////////////

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo == null ? null : photo.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp == null ? null : loginIp.trim();
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public Integer getLoginFlag() {
        return loginFlag;
    }

    public void setLoginFlag(Integer loginFlag) {
        this.loginFlag = loginFlag;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public Long getSysOrgId() {
        return sysOrgId;
    }

    public void setSysOrgId(Long sysOrgId) {
        this.sysOrgId = sysOrgId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getSaasUserId() {
        return saasUserId;
    }

    public void setSaasUserId(Long saasUserId) {
        this.saasUserId = saasUserId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHeadPortraitUrl() {
        return headPortraitUrl;
    }

    public void setHeadPortraitUrl(String headPortraitUrl) {
        this.headPortraitUrl = headPortraitUrl;
    }

///////////////////////////////////////////////////////////////////

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }

    public Date getCreateBeginDate() {
        return createBeginDate;
    }

    public void setCreateBeginDate(Date createBeginDate) {
        this.createBeginDate = createBeginDate;
    }

    public Date getCreateEndDate() {
        return createEndDate;
    }

    public void setCreateEndDate(Date createEndDate) {
        this.createEndDate = createEndDate;
    }

    public List<Long> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<Long> userIds) {
        this.userIds = userIds;
    }

    public Boolean getIsCreate() {
        return isCreate;
    }

    public void setIsCreate(Boolean isCreate) {
        this.isCreate = isCreate;
    }

    public String getYsUserId() {
        return YsUserId;
    }

    public void setYsUserId(String ysUserId) {
        YsUserId = ysUserId;
    }

    public Integer getCertStatus() {
        return certStatus;
    }

    public void setCertStatus(Integer certStatus) {
        this.certStatus = certStatus;
    }

    public String getPermissionIdList() {
        return permissionIdList;
    }

    public void setPermissionIdList(String permissionIdList) {
        this.permissionIdList = permissionIdList;
    }

    public Integer getLiveMealType() {
        return liveMealType;
    }

    public void setLiveMealType(Integer liveMealType) {
        this.liveMealType = liveMealType;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

//    public String getNickName() {
//        return nickName;
//    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public Integer getTokenType() {
        return tokenType;
    }

    public void setTokenType(Integer tokenType) {
        this.tokenType = tokenType;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public Long getPersonId() {
        return personId;
    }

    public void setPersonId(Long personId) {
        this.personId = personId;
    }
}